06b93069ee89db908341c40840dfaa71638303f7,rocker-compiler/src/main/java/com/fizzed/rocker/compiler/JavaGenerator.java,JavaGenerator,createSourceTemplate,#TemplateModel#Writer#,192

Before Change


                                .append(CRLF);

                            // assign entry to local values
                            tab(w, depth+indent+1)
                                .append(stmt.getArguments().get(mapCount - 2).toString())
                                .append(" = ").append(entryVarName).append(".getKey();").append(CRLF);

                            tab(w, depth+indent+1)

After Change



                            // assign entry to local values  make it final to assure nested anonymous
                            // blocks can access it as well.
                            tab(w, depth+indent+1)
                                .append("final ")
                                .append(stmt.getArguments().get(mapCount - 2).toString())
                                .append(" = ").append(entryVarName).append(".getKey();").append(CRLF);

                            tab(w, depth+indent+1)